    #!/usr/bin/env bash



# docker run -d -p 9000:9000   --restart=always  -v /var/run/docker.sock:/var/run/docker.sock     --name prtainer     docker.io/portainer/portainer
# docker run -d -p 6379:6379   --restart=always  -v /var/local/docker/redis:/data  --name  redis redis redis-server
# docker run -d  -p 3306:3306  --restart=always  -v /var/local/docker/mysql/data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=rhzh --name mysql  mysql
# docker run -d  --publish 5671:5671 --publish 5672:5672 --publish 4369:4369 --publish 25672:25672 --publish 15671:15671 --publish 15672:15672  --name rabbitmq rabbitmq:management




      docker run -d -p 9011:9011 --name ch-eureka   -e JAVA_OPTS='-Xmx512m -Xmx512m -XX:+UseG1GC -XX:MaxGCPauseMillis=200' ch/ch-eureka  --restart always --net host;

     docker run -d -p 9777:9777 --name ch-auth  -e JAVA_OPTS='-Xms512m -Xmx512m -XX:+UseG1GC -XX:MaxGCPauseMillis=200' ch/ch-auth  --restart always --net host;

     docker run -d -p 8765:8765 --name ch-gateway -e JAVA_OPTS='-Xmx512m -Xmx512m -XX:+UseG1GC -XX:MaxGCPauseMillis=200'  ch/ch-gateway  --restart always --net host;




    docker run -d -p 8880:8880 --name ch-hz  -e JAVA_OPTS='-Xms512m -Xmx512m -XX:+UseG1GC -XX:MaxGCPauseMillis=200' ch/ch-hz --restart always --net host;

    docker run -d -p 8777:8777 --name ch-cys -e JAVA_OPTS='-Xms512m -Xmx512m -XX:+UseG1GC -XX:MaxGCPauseMillis=200'  ch/ch-cys --restart always --net host;

    docker run -d -p 7101:7101 --name ch-order -e JAVA_OPTS='-Xms512m -Xmx512m -XX:+UseG1GC -XX:MaxGCPauseMillis=200'  ch/ch-order  --restart always --net host;

    docker run -d -p 9326:9326 -p 9998:9998 --name ch-msg -m 2000m -e JAVA_OPTS='-Xmx1G -Xmx1G -XX:+UseG1GC -XX:MaxGCPauseMillis=200'  ch/ch-msg --restart always --net host;

    docker run -d -p 9879:9879 --name ch-admin   -e JAVA_OPTS='-Xms512m -Xmx512m -XX:+PrintFlagsFinal -XX:+PrintGCDetails  -XX:+UseG1GC -XX:MaxGCPauseMillis=200' ch/ch-admin --restart always --net host;






